SelectedItem Property (ListBox<T>)
In This Topic
Gets or sets the item that is currently selected in the list.
Syntax
'Declaration
Public Property SelectedItem As
'Usage
Dim instance As ListBox(Of T)
Dim value As
instance.SelectedItem = value
value = instance.SelectedItem
public SelectedItem {get; set;}
public read-write property SelectedItem: ;
public function get,set SelectedItem :
public: __property get_SelectedItem();
public: __property void set_SelectedItem(
value
);
public:
property SelectedItem {
get();
void set ( value);
}
See Also